<template>
  <div class="no_data">
    <img src="~@/assets/images/no_limit.png" />
    <p>{{ tipsText }}</p>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component({})
export default class NoData extends Vue {
  @Prop({ default: '亲，您还没有权限哟~' }) private tipsText?: string;
  // @Prop({ default: '~@/assets/images/no_data.png' }) private img?: string;
}
</script>

<style scoped lang="less">
.no_data {
  width: 100%;
  height: 100%;
  background: #ffffff;
  margin-top: 10px;
  padding-top: 98.5px;
  img {
    margin: 0 auto;
    width: 266.5px;
    display: block;
  }
  p {
    color: #1a1a1a;
    font-size: 15px;
    text-align: center;
    margin-top: 83.5px;
  }
}
</style>
